package com.jarvis.hospital.util;

import android.app.Application;

/**
 * Created by jarvis on 2016-10-25.
 */

public class JarvisUtil {

    public static Application APP;

    /**
     * 系统核心库初始化 将应用Application传递到核心库中做初始化动作
     *
     * @param app
     *          the application
     *          @return Zilla Object
     */
    public JarvisUtil initSystem(Application app) {
        APP = app;
        //读取配置文件
        AddressManager.getInstance(app);
        //sharePreference工具
        SharePreferenceUtils.getInstance(app);
        return this;
    }
}
